package com.weareint.common.jpabase;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 *
 *
 * <pre>
 *      PageVo
 * </pre>
 *
 * @author Johnny
 * @date 2021-09-28
 */
@Data
@ApiModel(value = "分页查询对象")
public class PageVo implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "页码数", example = "0")
    private int pageNumber;

    @ApiModelProperty(value = "每页数量", example = "10")
    private int pageSize;

    @ApiModelProperty(value = "排序字段（字段）", hidden = true
    )
    private String sort;

    @ApiModelProperty(value = "排序方式", hidden = true)
    private String order;

}
